import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from "./store";
import 'element-ui/lib/theme-chalk/index.css';
//UI组件
import ElementUI from 'element-ui';
Vue.use(ElementUI);

//自定义公共方法
import publicMethod from './public/public.js';

//axios
import axios from './public/request.js';

//挂载公共方法
Vue.prototype.$publicMethod = publicMethod; //公共函数
Vue.prototype.$http = axios; //axios
Vue.config.productionTip = false
new Vue({
	store,
	ElementUI,
	router,
  render: h => h(App),
}).$mount('#app')
// new Vue({
// 	store,
// 	ElementUI,
// 	router,
//   render: h => h(App),
// }).$mount('#box')


